package com.secondHandPlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author team
 * @since 2023-05-18
 */
@Getter
@Setter
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 订单编号
     */
    private Long orderNum;

    /**
     * 订单价格
     */
    private Double orderPrice;

    /**
     * 订单状态 1待发货 2待收货 3已完成4
     */
    private Integer orderState;

    /**
     * 订单信息
     */
    private String orderInformation;

    /**
     * 下单时间
     */
    private String orderDate;

    /**
     * 收货地址
     */
    private String orderDeliveryAddress;

    /**
     * 发货地址
     */
    private String orderShippingAddress;
}
